import { http } from '@/utils/http'

export const shortOrderDict = (data: any) => {
  return http({
    method: 'POST',
    url: '/V5/sOrder/getEnums',
    data,
  })
}

// 获取渠道
export const syncChannelDicr = (data: any) => {
  return http({
    method: 'POST',
    url: '/V5/channelAccount/getEnums',
    data,
  })
}

// 获取订单
export const syncOrderDicr = (data: any) => {
  return http({
    method: 'POST',
    url: '/V5/channelSyncRecord/getEnums',
    data,
  })
}

// 长租默认参数
export const longOrderDict = (data: any) => {
  return http({
    method: 'POST',
    url: '/V5/czsOrderInfo/getEnums',
    data,
  })
}

// 获取库存同步记录页面枚举
export const syncRecordDict = (data: any) => {
  return http({
    method: 'POST',
    url: '/V5/channelSyncStore/getEnums',
    data,
  })
}

// 获取订单工单页面枚举
export const syncWorkOrderDict = (data: any) => {
  return http({
    method: 'POST',
    url: '/V5/workOrderV5/getEnums',
    data,
  })
}

// 费用信息枚举
export const costInfoDict = (data: any) => {
  return http({
    method: 'POST',
    url: '/V5/carAssetFee/getEnums',
    data,
  })
}
